﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization;


namespace Model
{
    [DataContract]
    [MB.Orm.Mapping.Att.ModelMap("LMLocationInventoryTran", "LMLocationInventoryTran", new string[] { "LOCATIONINVENTORYID" })]
    [KnownType(typeof(LocationInventoryTran))]
    //货位事物信息
    public class LocationInventoryTran : MB.Orm.Common.BaseModel
    {
        public LocationInventoryTran()
        {
        
        }

        private int _LOCATIONINVENTORYTRANID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("LOCATIONINVENTORYTRANID", System.Data.DbType.Int32)]
        public int LOCATIONINVENTORYTRANID
        {
            get { return _LOCATIONINVENTORYTRANID; }
            set { _LOCATIONINVENTORYTRANID = value; }
        }
        private string _TRANDATE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("TRANDATE", System.Data.DbType.String)]
        public string TRANDATE
        {
            get { return _TRANDATE; }
            set { _TRANDATE = value; }
        }
        private int _LOCATIONID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("LOCATIONID", System.Data.DbType.Int32)]
        public int LOCATIONID
        {
            get { return _LOCATIONID; }
            set { _LOCATIONID = value; }
        }
        private string _GOODSBATCHCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSBATCHCODE", System.Data.DbType.String)]
        public string GOODSBATCHCODE
        {
            get { return _GOODSBATCHCODE; }
            set { _GOODSBATCHCODE = value; }
        }
        private int _GOODSID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSID", System.Data.DbType.Int32)]
        public int GOODSID
        {
            get { return _GOODSID; }
            set { _GOODSID = value; }
        }
        private string _SHEETTYPE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("SHEETTYPE", System.Data.DbType.String)]
        public string SHEETTYPE
        {
            get { return _SHEETTYPE; }
            set { _SHEETTYPE = value; }
        }
        private string _SHEETID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("SHEETID", System.Data.DbType.String)]
        public string SHEETID
        {
            get { return _SHEETID; }
            set { _SHEETID = value; }
        }
        private decimal _QTY;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("QTY", System.Data.DbType.Decimal)]
        public decimal QTY
        {
            get { return _QTY; }
            set { _QTY = value; }
        }
        private decimal _BALANCE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("BALANCE", System.Data.DbType.Decimal)]
        public decimal BALANCE
        {
            get { return _BALANCE; }
            set { _BALANCE = value; }
        }
    }
}
